package com.zhuangjie.shop.vo.order_confirm_require;

import com.zhuangjie.shop.entity.Shop;
import com.zhuangjie.shop.vo.CartItemVO;
import com.zhuangjie.user.vo.AddressBookVO;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.List;

/**
 * 订单确认需要的信息vo
 *
 * @author zhuangjie
 * @date 2024/03/23
 */
@Getter
@Setter
public class OrderConfirmRequireVO {

    /**
     * 收货地址信息
     */
    private AddressBookVO addressBook;
    /**
     * 店铺支持的receivingMethod
     */
    private String[] supportedReceivingMethods;
    /**
     * 购物车商品信息
     */
    private List<CartItemVO> cartItemList;
    /**
     * 菜品总金额
     */
    private BigDecimal dishListSumPrice;
    /**
     * 配送费（仅配送订单）
     */
    private BigDecimal deliveryFee;
    /**
     * 餐盒费（仅配送与自提订单）
     */
    private BigDecimal packingFee;
    /**
     * 优惠信息
     */
    private PreferentialInfo preferentialInfo;
    /**
     * 店铺信息
     */
    private Shop shopInfo;

}
